package com.hospitalsystem.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * (MedicalRecord)实体类
 *
 * @author makejava
 * @since 2024-12-28 19:32:48
 */
public class MedicalRecord implements Serializable {
    private static final long serialVersionUID = 380979281398041892L;
    
    private String mId;
    
    private String ifPay;
    
    private String checkList;
    
    private String drugList;
    
    private String pRId;
    
    private String ifCheck;
    
    private String ifTake;
    
    private Date time;


    public String getMId() {
        return mId;
    }

    public void setMId(String mId) {
        this.mId = mId;
    }

    public String getIfPay() {
        return ifPay;
    }

    public void setIfPay(String ifPay) {
        this.ifPay = ifPay;
    }

    public String getCheckList() {
        return checkList;
    }

    public void setCheckList(String checkList) {
        this.checkList = checkList;
    }

    public String getDrugList() {
        return drugList;
    }

    public void setDrugList(String drugList) {
        this.drugList = drugList;
    }

    public String getPRId() {
        return pRId;
    }

    public void setPRId(String pRId) {
        this.pRId = pRId;
    }

    public String getIfCheck() {
        return ifCheck;
    }

    public void setIfCheck(String ifCheck) {
        this.ifCheck = ifCheck;
    }

    public String getIfTake() {
        return ifTake;
    }

    public void setIfTake(String ifTake) {
        this.ifTake = ifTake;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
    public Map<String,Object> convertToChargeMap(){
        Map<String,Object> map = new HashMap<>();
        map.put("time",time);
        map.put("ifPay",ifPay);
        map.put("mid",mId);
        return map;
    }

}

